Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PICARD-2880: Ensure ratecontrol.set_minimum_delay stores the delay as int #2445

Merged
merged 1 commit into from
May 1, 2024

Conversation

phw
Copy link
Member

@phw phw commented May 1, 2024

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

If a rate limit delay is set via ratecontrol.set_minimum_delay to a float value Picard crashes during networking. See also the comment on PICARD-2742.

Solution

Ensure ratecontrol.set_minimum_delay stores the delay as int. Added some initial tests for the ratecontrol module.

@phw phw requested a review from zas May 1, 2024 09:59
Copy link
Collaborator

@zas zas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phw phw merged commit 6b0933f into metabrainz:master May 1, 2024
41 checks passed
@phw phw deleted the PICARD-2880-rate-limit-enforce-int branch May 1, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants